<?php $this->load->view('_inc/header_popup')?>
<h1>Edição de Aula</h1>
<?php echo form_open('turma/editandoAula'); ?>
<table>
    <?php echo form_hidden('id',$aula->id)?>
    <?php echo form_hidden('turma', $aula->turma_id)?>
    <tr><td><?php echo form_label('Tema:','itema'); echo form_input('tema',$aula->tema,'id="itema" autofocus class=required'); ?></td></tr>
    <tr><td><?php echo form_label('Data:','idata'); echo form_input('data',$aula->data,'id="idata" class=required'); ?></td></tr>
    <tr>
        <td>
            <?php echo form_submit('','Salvar') ?>
            <?php echo form_button('','Cancelar', 'class=cancela')?>
        </td>
    </tr>
</table>
<?php echo form_close(); ?>